package de.gameduell.framework.modules.event
{
	import flash.events.Event;

	/**
	 * inform managers about active team index change.
	 **/
	public class ActiveTeamChangeEvent extends Event {
		
		public static const ACTIVE_TEAM_CHANGED:String = "activeTeamChanged";
		
		public var oldTeamIndex:int;
		public var newTeamIndex:int;
		
		public function ActiveTeamChangeEvent(oldTeamIndex:int, newTeamIndex:int) {
			super(ACTIVE_TEAM_CHANGED, false, false);
			this.oldTeamIndex = oldTeamIndex;
			this.newTeamIndex = newTeamIndex;
		}
		
	}
}